package com.example.yurqi.webviewexample

import com.example.yurqi.webviewexample.model.Person
import me.ezitku.JsBridge.JsCall

/**
 * Created by yurqi on 17-10-19.
 */

interface JsFunc {
    fun setName(person: Person)
    fun getName(call: (String) -> Unit)
    fun person(call: (Person) -> Unit): Person
    fun normal(call: (String) -> Unit): String
    fun list(call: (List<Person>) -> Unit): List<Person>


}
